In Python 3, you must do print('some code'). This is because in Python 3 it has become a function. If you must, you can use your Python 2 code and convert it to Python 3 code using 2to3 - it is a great built-in program which comes with Python. For